import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import SvgIcon from "./components/SvgIcon"; // svg component

import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import "@/styles/index.scss"; // global css

Vue.prototype.$dayjs = dayjs;

Vue.component("svg-icon", SvgIcon);
Vue.config.productionTip = false;

Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
